package com.app.designpattern.Behavioral.templatemethod;

import android.util.Log;

/**
 * USER: zjw
 * DATA: 2019/4/25 0025
 * TIME: 下午 4:43
 */
public class FECourse extends ACourse {
    private boolean isHasNote = false;

    public FECourse(boolean isHasNote) {
        this.isHasNote = isHasNote;
    }

    @Override
    public void makePageke() {
        Log.i("method", "制作前端课程的压缩包");
        Log.i("method", "制作前端课程的其他信息");
    }

    //从写钩子方法,或者不从写,默认就是没有手机
    @Override
    public boolean isHasNote() {
        return isHasNote;
    }
}
